package com.qf.leadnewsutils.commons;

public class ThreadLocalUtil {

    private static ThreadLocal<Long> uidTl = new ThreadLocal<>();

    public static void saveUid(Long uid){
        uidTl.set(uid);
    }

    public static Long getUid(){
        return uidTl.get();
    }

    public static void removeUid(){
         uidTl.remove();
    }

}
